* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}
body{
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
}

.catecolor {
    color: rgb(26, 193, 26);

}

.li_active {
    background: rgb(255, 255, 255);
    color: rgb(26, 193, 26);
    border-left: 3px solid rgb(26, 193, 26);

}


.cate_page {
    width: 100vw;
    height: calc(100vh - 50px);
    // background: skyblue;

    .cate_search {
        width: 100%;
        height: 50px;
        line-height: 50px;
        background: pink;
    }

    .nut-searchbar {
        height: 50px;
    }

    .cate_list {
        width: 100%;
        height: 70px;
        // background: pink;
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: center;

        .all_cate {
            width: 20px;
            margin-left: 10px;
        }

        .cate_list_item {
            width: 18%;
            height: 100%;
            box-sizing: border-box;
            text-align: center;
            font-size: 14px;

            .img_box {
                width: 60%;
                height: 60%;
                margin: 5px auto 0 auto;
                border-radius: 50%;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

        }
    }

    .good_box {
        width: 100%;
        height: calc(100vh - 170px);
        // background: red;
        display: flex;
        box-sizing: border-box;

        .sub_cate {
            width: 20%;
            height: 100%;
            background: rgb(242, 242, 242);
            box-sizing: border-box;
            overflow: auto;

            ul {
                width: 100%;
                height: 100%;

                li {
                    width: 100%;
                    height: 40px;
                    line-height: 40px;
                    box-sizing: border-box;
                    padding-left: 10px;
                    border-bottom: 1px solid #ccc;
                    font-size: 14px;
                    box-sizing: border-box;
                }
            }
        }

        .good_list {    
            padding: 2px 10px;
            box-sizing: border-box;
            width: 80%;
            height: 100%;
            // background: blue;
            display: flex;
            flex-wrap: wrap;
            
            img {
                width: 100%;
                height: 100px;
            }

            .filter_box {
                width: 100%;
                height: 30px;
                // background: pink;
                display: flex;
                justify-content: space-between;
                align-items: center;
                color: #504d4d;
            }
            .show_box{
                width: 100%;
                height: calc(100vh - 302px);
                // background: orange;
                overflow: auto;
                box-sizing: border-box;
                .good_item{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    background: white;
                    border-bottom: 1px solid #ccc;
                    width: 100%;
                    height: 100px;
                  
                        img{
                            width: 30%;
                            height: 100%;
                            padding: 15px;
                        }
                        .good_info{
                            width: 70%;
                            height: 100%;
                            margin-top:15px ;
                            .good_name{
                                font-size: 16px;
                                font-weight: 500;
                            }
                            .good_price_box{
                                display: flex;
                                height: 40px;
                                box-sizing: border-box;
                                padding-right: 20px;
                                justify-content: space-between;
                                align-items: center;
                                .good_price{
                                    color: red;
                                    font-size: 16px;
                                    font-weight: 500;
                                }
                                .good_cart{
                                    width: 30px;
                                    height: 30px;
                                    line-height: 30px;
                                    text-align: center;
                                    border-radius: 50%;
                                    background: rgb(26, 193, 26);
                                    position: relative;
                                    .add_num{
                                        position: absolute;
                                        top:-5px;
                                        left: 25px;
                                        color: red;
                                    }
                                }
                            }
                        }
                    
                   
                }
            }
        }
    }
}

.zhan_box {
    width: 100%;
    height: 140px;
    display: flex;
    flex-wrap: wrap;
    z-index: 2;
    background:white;

    .cate_list_item1 {
        width: 18%;
        height: 70px;
        // background: blue;
        box-sizing: border-box;
        text-align: center;
        font-size: 14px;

        .img_box {
            width: 60%;
            height: 60%;
            margin: 5px auto 0 auto;
            border-radius: 50%;

            img {
                width: 100%;
                height: 100%;
            }
        }

    }
}